'use strict';
app.service('memberTransactionHistoryService',['$q','utilService',function($q,utilService){
    var _this_=this;
    _this_.findForTotal=function($scope){
        var deferred=$q.defer();
        utilService.get({
            url:$scope.app.domain+'/member/card/history/total'
        }).then(function(rlt){
            deferred.resolve(rlt.data);
        },function(e){
            deferred.reject("服务器连接出错");
        });
        return deferred.promise;
    }
}]);